<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="__URL__/add" target="dialog" mask="true" rel="dialog_menu_level_zero_add"><span>新增目录</span></a></li>
			<li><a class="delete" target="selectedTodo" postType="string" href="__URL__/moredelete/navTabId/Menu_menu_level_zero" title="你确定要删除吗？"><span>删除目录</span></a></li>
			<li><a class="edit" href="__URL__/edit/id/{menu_id}" target="dialog" mask="true" warn="请选择"><span>编辑目录</span></a></li>
		</ul>
	</div>

	<table class="table" width="100%" layoutH="0">
		<thead>
		<tr>
			<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
			<th width="60">序号</th>
			<th width="200" >目录名称</th>
			<th>负责人</th>
            <th>是否自定义</th>
            <th width="60">首页展示</th>
            <th width="60">排序权值</th>
			<th width="200" >备注</th>
			<th>操作</th>
			
		</tr>
		</thead>
		<tbody>
		<volist id="vo" name="list">
			<tr target="menu_id" rel="{$vo['id']}">
				<td><input name="ids" value="{$vo['id']}" type="checkbox"/></td>
				<td>{$i}</td>
				<td>{$vo['name']}</td>
				<td>{$vo['manager']}</td>
                <td><?php if($vo['custom_flag'] == 1){
                    echo '<span style="color:green;">'.$vo['custom_url'].'</span>';
                }else{
                    echo '否';
                }?></td>
                <td><?php if($vo['index_display_flag'] == 1){
                    echo '<span style="color:green;">是</span>';
                }?></td>
                <td>{$vo['weight']}</td>
				<td>{$vo['remark']}</td>
				<td>
                    <a href="__URL__/menu_level_one/id/{$vo['id']}" target="dialog" rel="Menu_menu_level_one"><u>管理二级目录</u></a>
                    &nbsp;|&nbsp;<a target="ajaxTodo" href="__URL__/index_display/id/{$vo['id']}/navTabId/Menu_menu_level_zero"><u>首页展示开关</u></a>
                </td>
			</tr>
		</volist>
		</tbody>
	</table>

</div>


